package com.cskaoyan.market;

import com.cskaoyan.market.validator.MarketAdminUsernameConflictValidator;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

@MapperScan("com.cskaoyan.market.db.mapper")
@SpringBootApplication
@Import(MarketAdminUsernameConflictValidator.class)
public class MarketApplication {

    public static void main(String[] args) {
        SpringApplication.run(MarketApplication.class, args);
    }

}